package com.pioneer.web.stock.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pioneer.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * StoInoutBody 出入库子表
 *
 * @author hlm
 * @date 2025-04-09 14:54:16
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "sto_inout_body")
@Data
public class StoInoutBody extends BaseEntity {

    /**
     * 出入库子表ID
     */
    @TableId(type = IdType.AUTO)
    private Long inoutBodyId;

    /**
     * 出入库表ID
     */
    private Long inoutId;

    /**
     * 来源行ID
     */
    private Long sourceRowid;

    /**
     * 仓库ID
     */
    private Long storeId;

    /**
     * 存货ID
     */
    private Long inventoryId;

    /**
     * 数量
     */
    private BigDecimal orderNumber;
}
